<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="utf-8" />
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <link rel="stylesheet" type="text/css" href="../c-asserts/mui/css/mui.min.css"/>
    <style type="text/css">
        .mui-title{
            left:80px !important;
            right:80px !important;
        }
    </style>
</head>
<body>
<header id="header" class="mui-bar mui-bar-nav">
    <button class="mui-btn mui-btn-link mui-btn-nav mui-pull-left" onclick="api.closeWin();" tapmode>
        <span id="btCloseReturn" class="close">
            <span class="mui-icon mui-icon-back"></span>
             返回
        </span>
    </button>
    <h2 class="mui-title">
        <span id="txtTitle"></span>
    </h2>
</header>
</body>
<script type="text/javascript" src="../c-script/api.js"></script>
<script type="text/javascript" src="../c-script/public.js"></script>
<script type="text/javascript" src="../c-script/jquery-2.1.3.min.js"></script>
<script type="text/javascript">
    var pageParam = null;
    apiready = function(){
        pageParam = $api.getStorage('pageParam');
        $('#txtTitle').html(pageParam.mainTitle);
        var iosHeight = iosConfig($('#header'));
        api.openFrame({
            name: pageParam.frameName,
            url: pageParam.frameUrl,
            pageParam:pageParam.frameParam,
            bounces: false,
            rect: {
                x: 0,
                y: 44 + iosHeight,
                w: 'auto',
                h: api.winHeight - 44 - iosHeight
            }
        });
        api.parseTapmode();
    }
</script>
</html>
